package com.pansoft.openplanet.bean;

import java.io.Serializable;

/**
 * 积分卡对象
 */
@Deprecated
public class PointCard implements Serializable {

    private String cardName;

    //积分
    private String score;
    private Object cardIcon;
    private Object cardBackgrond;

    public PointCard() {
    }

    private PointCard(Builder builder) {
        setCardName(builder.cardName);
        setScore(builder.score);
        setCardIcon(builder.cardIcon);
        setCardBackgrond(builder.cardBackgrond);
    }

    public String getCardName() {
        return cardName;
    }

    public PointCard setCardName(String cardName) {
        this.cardName = cardName;
        return this;
    }

    public String getScore() {
        return score;
    }

    public PointCard setScore(String score) {
        this.score = score;
        return this;
    }

    public Object getCardIcon() {
        return cardIcon;
    }

    public PointCard setCardIcon(Object cardIcon) {
        this.cardIcon = cardIcon;
        return this;
    }

    public Object getCardBackgrond() {
        return cardBackgrond;
    }

    public PointCard setCardBackgrond(Object cardBackgrond) {
        this.cardBackgrond = cardBackgrond;
        return this;
    }


    public static final class Builder {
        private String cardName;
        private String score;
        private Object cardIcon;
        private Object cardBackgrond;

        public Builder() {
        }

        public Builder cardName(String val) {
            cardName = val;
            return this;
        }

        public Builder score(String val) {
            score = val;
            return this;
        }

        public Builder cardIcon(Object val) {
            cardIcon = val;
            return this;
        }

        public Builder cardBackground(Object val) {
            cardBackgrond = val;
            return this;
        }

        public PointCard build() {
            return new PointCard(this);
        }
    }
}
